package xyz.second.database.portal.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 考勤记录表
 * </p>
 *
 * @author qjw
 * @since 2021-06-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("attendance_record")
public class AttendanceRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 考勤记录表编号
     */
    @TableId(value = "ar_id", type = IdType.AUTO)
    private Integer arId;

    /**
     * 学生id
     */
    @TableField("student_id")
    private Integer studentId;

    /**
     * 考勤情况
     */
    @TableField("ar_attendance")
    private String arAttendance;

    /**
     * 应签到时间
     */
    @TableField("ar_checkin")
    private LocalDateTime arCheckin;

    /**
     * 应签退时间
     */
    @TableField("ar_checkout")
    private LocalDateTime arCheckout;

    /**
     * 实签到时间
     */
    @TableField("ar_acheckin")
    private LocalDateTime arAcheckin;

    /**
     * 实签退时间
     */
    @TableField("ar_acheckout")
    private LocalDateTime arAcheckout;

    /**
     * 日期
     */
    @TableField("ar_checkdate")
    private LocalDateTime arCheckdate;


}
